package fr.cephb.operon.server.ws;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

@WebService
@SOAPBinding(style=Style.DOCUMENT)
public interface SnpTool
	{
	@WebMethod
	 @WebResult(name="SnpDescriptorList")
	public SNP[] getSNPByName(@WebParam(name="rsNumber")String  name) throws Exception;
	
	@WebMethod
	@WebResult(name="assemblyName")
	public String getAssemblyName() throws Exception;
	
	@WebMethod
	@WebResult(name="SnpList")
	public SNP[] getSNPByPosition(@WebParam(name="chromosome")String  chrom,@WebParam(name="start")int start,@WebParam(name="end")int end) throws Exception;
	}
